package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.common.PageDto;
import com.itheima.reggie.common.R;
import com.itheima.reggie.entity.Employee;

/**
 * 员工表服务
 *
 * @author Upjqs
 * @since 2024-02-07 15:23
 */
public interface EmployeeService extends IService<Employee> {
    /**
     * 分页条件列表
     * @param dto
     * @return
     */
    R pageList(PageDto dto);

    R add(Employee employee);

    R get(Long id);
}
